﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EasyInvoice.SqlCEDAL
{
    public interface IInvoices
    {
        EasyInvoice.Model.Invoice GetById(long id);

        IEnumerable<EasyInvoice.Model.Invoice> GetAll();

        long Save(EasyInvoice.Model.Invoice invoice);

        EasyInvoice.Model.Invoice Delete(EasyInvoice.Model.Invoice invoice);
    }
}
